package cn.zn.modules.money.cur.entity.dto;

import cn.zn.framework.common.validator.group.UpdateGroup;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zn
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TMoneyInfoDetailFreezeDTO {
    @NotBlank(groups = {UpdateGroup.class})
    private String id;
    @NotNull
    private Double money;
    @NotBlank
    private String processCode;
    @NotBlank
    private String projectCode;
    @NotBlank
    private String cateCode;
    @NotBlank
    private String moneyTypeCode;
    @NotBlank
    private String tpMainId;
}